#!/bin/sh

cat >&2 <<EOF
*
* Create database for Roundcube and load the initialization script:
*
*     su -l postgres
*     psql -c "CREATE ROLE roundcube PASSWORD 'top-secret' INHERIT LOGIN;"
*     psql -c "CREATE DATABASE roundcube OWNER roundcube ENCODING 'UTF-8';"
*     psql -U roundcube roundcube < /usr/share/webapps/roundcube/SQL/postgres.initial.sql
*
EOF
